<?php $this->_extends('_layouts/cib_layout'); ?>

<?php $this->_block('metainfo'); ?>
    <title><?php if($currentNews) { echo $currentNews->title,' —— ',$currentNews->category->category; } else { echo '首页'; }?> —— 创新实践 —— 上海外国语大学国际工商管理学院</title>
    <meta name="Description" content="上海外国语大学国际工商管理学院,SISUCIB,创新实践,<?php if($currentNews) { echo $currentNews->category->category,' | ',$currentNews->title; } else { echo '首页'; }?>" />
    <meta name="Keywords"    content="上海外国语大学国际工商管理学院,SISUCIB,创新实践,<?php if($currentNews) { echo $currentNews->category->category,' | ',$currentNews->title; } else { echo '首页'; }?>" />
    <link rel="stylesheet" type="text/css" href="profiles/<?=Q::ini('appini/skin');?>/cib-innovation.css" />
    <style type="text/css" media="all"><?=$css;?></style>
<?php $this->_endblock('metainfo'); ?>

<?php $this->_block('container'); ?>
<div id="container">
    <?php $this->_element('g-pieces/innovation/g-pieces-innovation-column-a');?>

    <div id="content">
        <?php if(isset($_GET['tag'])) { ?>
            <b>标签："<?=$_GET['tag'];?>"</b>
            <ul>
                <?php foreach($tagRecords as $key => $tr) { ?>
                    <li>
                        &nbsp;&nbsp;<?=$key+1;?>. <a title="<?=mb_substr(strip_tags($tr->body), 0, Q::ini('appini/alink_title'), 'utf-8');?>" href="<?=url('internationally/index', array('news_id'=>$tr->news_id, 'title'=>$tr->title));?>"><?=$tr->title;?></a>
                    </li>
                <?php } ?>
            </ul>
        <?php } ?>

        <?php if($currentNews != NULL) { ?>

            <?php $this->_element('g-pieces/newsnotice/g-pieces-newsnotice-news-title'); ?>
            <?php $this->_element('g-pieces/newsnotice/g-pieces-newsnotice-news-preinfo'); ?>
            <?php $this->_element('g-pieces/newsnotice/g-pieces-newsnotice-news-body'); ?>
            <?php $this->_element('g-pieces/newsnotice/g-pieces-newsnotice-news-attachments'); ?>

        <?php } else { ?>
            <img src="misc/innovation-index.jpg" alt="创新实践" />
        <?php } ?>
    </div><!-- /content -->

    <?php $this->_element('g-pieces/innovation/g-pieces-innovation-column-b');?>
</div><!-- /container -->

<?php $this->_endblock('container'); ?>